package com.project.market.service;

import com.project.market.db.domain.MarketGoods;
import com.project.market.db.domain.MarketGoodsAttribute;
import com.project.market.db.domain.MarketGoodsProduct;
import com.project.market.db.domain.MarketGoodsSpecification;

import java.util.List;
import java.util.Map;

public interface AdminGoodsService {
    List<MarketGoods> list(String page, String limit, String goodsSn, String name, String sort, String order, String goodsId);

    Map<String, Object> catAndBrand();

    Object create(MarketGoods goods, List<MarketGoodsProduct> products, List<MarketGoodsSpecification> specifications, List<MarketGoodsAttribute> attributes);
}
